]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Add more Ubuntu requirements checking to build setup script
authorColin Walters <walters@src.gnome.org>
Fri, 28 Nov 2008 20:35:32 +0000 (20:35 +0000)
committerColin Walters <walters@src.gnome.org>
Fri, 28 Nov 2008 20:35:32 +0000 (20:35 +0000)
Signed-off-by: Colin Walters <walters@verbum.org>
svn path=/trunk/; revision=88

tools/build/gnome-shell-build-setup.sh

index d077abccd536208afba4e52ea153c88b14015a56..8d5aef6cbc1cee22f94e8050af264fcdceab7034 100755 (executable)
@@ -49,11 +49,22 @@ fi
 
 system=`lsb_release -is`
 if test x$system = xUbuntu -o x$system = xDebian ; then
-    if dpkg --status xulrunner-1.9-dev > /dev/null 2>&1; then : ; else
-        echo "Please run, as root, 'apt-get install xulrunner-1.9-dev' before building gnome-shell."
-        echo
-    fi
+  reqd=""
+  for pkg in libgconf2-dev git-core gtk-doc-tools libgl1-mesa-dev \
+    mesa-common-dev libffi-dev libgtk2.0-dev flex build-essential \
+    curl xulrunner-1.9-dev; do
+      if dpkg --status $pkg > /dev/null 2>&1; then : ; else
+        reqd="$pkg $reqd"
+      fi
+  done
+  if test ! x$reqd = x; then
+    echo "Please run, as root, 'apt-get install $reqd' before building gnome-shell."
+    echo
+  fi
 fi
 
++
+ echo "Done."
+
 echo "Done."